﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using FSY.API.Utilities;
using FSY.Components.Entities;
namespace FSY.Web.Admin.Portals
{
    public partial class ViewListPortal : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                FillRepeater();
            }

        }

        private void FillRepeater()
        {
            List<Fsy_Portal> ls = Fsy_PortalController.GetAllPortal();
            rptShowAllItem.DataSource = ls;
            rptShowAllItem.DataBind();
        }
    }
}